package Crawler.Renren.renrenapps.dopaminer.Action;

/**
 * Created with IntelliJ IDEA.
 * User: Wings
 * Date: 13-8-9
 * Time: 上午10:12
 * To change this template use File | Settings | File Templates.
 */
public class GlobalConfig {

    private static String authCode;
    private final String apiKey = "f63486984e714372b1847542df5fc531";
    private final String secretKey = "24c24bf35f1f450e81124b1620cf9256";
    private final String redirectURL = "http%3A%2F%2Fapps.renren.com%2Fdopa_miner%2Fauth";
    private final String scope = "read_user_blog+read_user_feed+read_user_guestbook+read_user_status+read_user_album+read_user_comment";
    public static final String renrenTokenURL = "https://graph.renren.com/oauth/token";
    private String authURL = "https://graph.renren.com/oauth/authorize?client_id=" + getApiKey() +
            "&redirect_uri=" + getRedirectURL() + "&response_type=code&scope=" + getScope();

    public static String getAuthCode() {
        return authCode;
    }

    public static void setAuthCode(String authCode) {
        GlobalConfig.authCode = authCode;
    }

    public String getAuthURL() {
        return authURL;
    }

    public void setAuthURL(String authURL) {
        this.authURL = authURL;
    }

    public String getApiKey() {
        return apiKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public String getRedirectURL() {
        return redirectURL;
    }

    public String getScope() {
        return scope;
    }

}
